package com.mall.product.domain.entity;

import com.mall.common.annotation.Excel;
import com.mall.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * SKU属性值对照对象 pro_sku_custom_record_value
 *
 * @author zhonglin
 * @date 2020-05-07
 */
public class ProSkuCustomRecordValue
    extends BaseEntity {

  private static final long serialVersionUID = 1L;

  /**
   * SKU属性值对照id
   */
  private Long skuCustomRecordValueId;

  /**
   * SKU id
   */
  @Excel(name = "SKU id")
  private Long skuId;

  /**
   * 商品自定义档案id
   */
  @Excel(name = "商品自定义档案id")
  private Long customRecordId;

  /**
   * 商品自定义档案值id
   */
  @Excel(name = "商品自定义档案值id")
  private Long customRecordValueId;

  public void setSkuCustomRecordValueId(Long skuCustomRecordValueId) {

    this.skuCustomRecordValueId = skuCustomRecordValueId;
  }

  public Long getSkuCustomRecordValueId() {

    return skuCustomRecordValueId;
  }

  public void setSkuId(Long skuId) {

    this.skuId = skuId;
  }

  public Long getSkuId() {

    return skuId;
  }

  public void setCustomRecordId(Long customRecordId) {

    this.customRecordId = customRecordId;
  }

  public Long getCustomRecordId() {

    return customRecordId;
  }

  public void setCustomRecordValueId(Long customRecordValueId) {

    this.customRecordValueId = customRecordValueId;
  }

  public Long getCustomRecordValueId() {

    return customRecordValueId;
  }

  @Override
  public String toString() {

    return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("skuCustomRecordValueId", getSkuCustomRecordValueId())
                                                                    .append("skuId", getSkuId())
                                                                    .append("customRecordId", getCustomRecordId())
                                                                    .append("customRecordValueId", getCustomRecordValueId())
                                                                    .toString();
  }

}
